package net.lcheng.service;

import net.lcheng.model.WxShop;
import net.lcheng.model.WxShopBanner;

import java.util.List;

/**
 * Created by zwr on 2016/7/4 0004.
 */
public interface WxShopBannerService {
    /***
     * 根据Shopid(店铺id)查找自己的Banner
     * @param bannerId
     * @return
     */
    WxShopBanner getBannerByBannerId(String bannerId);

    /***
     * 根据shopid查找自己的店铺Banner列表
     * @param wxShopShopId
     * @return
     */
    List<WxShopBanner>getBannerListByShopId(Integer wxShopShopId);

    /**
     * 添加banner
     * @param wxShopBanner
     * @return
     */
    int addBanner(WxShopBanner wxShopBanner);

    /**
     * 编辑banner
     * @param wxShopBanner
     * @return
     */
    int edit(WxShopBanner wxShopBanner);

    /**
     * 修改Status
     * @param wxShopBanner
     * @return
     */
    int modifyStatus(WxShopBanner wxShopBanner);


}
